import { request } from "../utils/request";
/**
 * 分页查询List
 */
export function getProductList(data) {
  return new Promise(res => {
    res(request('/productController/getProductList','POST',data,{
      'Content-Type': 'application/json'
    }))
  })
}
/**
 * 产品详情
 */
export function getProductById(data) {
  return new Promise(res => {
    res(request('/productController/getProductById','POST',data))
  })
}
/**
 * 加盟产品列表
 */
export function getProductJoinList(data) {
  return new Promise(res => {
    res(request('/productController/getProductJoinList','POST',data,{
      'Content-Type': 'application/json'
    }))
  })
}